package com.kehutong.user.entity;

import org.coraframework.bean.valid.CheckField;
import org.coraframework.orm.Entity;
import org.coraframework.orm.annotation.Column;
import org.coraframework.orm.annotation.Table;

import java.util.List;

/**
 * 资产用户标签
 *
 * @author: liukunlong
 * @date: 2021-08-05 13:33
 */
@Table(value = "t_assets_user_remark", comment = "资产用户备注", multi = true)
public class AssetsUserRemark extends Entity {
    private static final long serialVersionUID = -1;

    protected AssetsUserRemark(String id) {
        super(id);
    }

    @CheckField("资产用户编号不能为空")
    @Column(comment = "用户编号")
    private String userNo;

    @Column(comment="备注名称")
    private String name;

    @Column(length = 512, comment = "描述")
    private String desc;

    @Column(comment = "上传的图片ids")
    private List<String> imageIds;

    @Column(comment="创建人")
    private String createBy;

    @Column(comment = "创建人名字")
    private String createName;

    public String getUserNo() {
        return userNo;
    }

    public void setUserNo(String userNo) {
        this.userNo = userNo;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    @Override
    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }

    public String getCreateBy() {
        return createBy;
    }

    public void setCreateBy(String createBy) {
        this.createBy = createBy;
    }

    public String getCreateName() {
        return createName;
    }

    public void setCreateName(String createName) {
        this.createName = createName;
    }

    public List<String> getImageIds() {
        return imageIds;
    }

    public void setImageIds(List<String> imageIds) {
        this.imageIds = imageIds;
    }
}
